package cn.com.cabinet.dto;

import java.util.Date;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;

public class UserDto{

	private Long id;
	//用户ID
	private String uAccount;
	//用户密码
    private String uPwd;

    private String uName;

    private String uSex;

    private Date uBirthday;

    private String uAddress;

    private String uPhoto;

    private String uEmail;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getuAccount() {
		return uAccount;
	}

	public void setuAccount(String uAccount) {
		this.uAccount = uAccount;
	}

	public String getuPwd() {
		return uPwd;
	}

	public void setuPwd(String uPwd) {
		this.uPwd = uPwd;
	}

	public String getuName() {
		return uName;
	}

	public void setuName(String uName) {
		this.uName = uName;
	}

	public String getuSex() {
		return uSex;
	}

	public void setuSex(String uSex) {
		this.uSex = uSex;
	}

	public Date getuBirthday() {
		return uBirthday;
	}

	public void setuBirthday(Date uBirthday) {
		this.uBirthday = uBirthday;
	}

	public String getuAddress() {
		return uAddress;
	}

	public void setuAddress(String uAddress) {
		this.uAddress = uAddress;
	}

	public String getuPhoto() {
		return uPhoto;
	}

	public void setuPhoto(String uPhoto) {
		this.uPhoto = uPhoto;
	}

	public String getuEmail() {
		return uEmail;
	}

	public void setuEmail(String uEmail) {
		this.uEmail = uEmail;
	}

	@Override
	public String toString() {
		return "UserDto [id=" + id + ", uAccount=" + uAccount + ", uPwd=" + uPwd + ", uName=" + uName + ", uSex=" + uSex
				+ ", uBirthday=" + uBirthday + ", uAddress=" + uAddress + ", uPhoto=" + uPhoto + ", uEmail=" + uEmail
				+ "]";
	}

}
